package com.hspedu.writer;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/2/24
 * @time 20:17
 */
public class BufferedWriter_ {
    public static void main(String[] args) throws IOException {
        BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter
                ("D:\\BaiduNetdiskDownload\\韩顺平2021基础学Java\\temp\\news5.txt",
                        true));

        bufferedWriter.newLine();
        bufferedWriter.write("韩顺平教育666");

        bufferedWriter.close();

    }
}
